package com.endpoint.search.service;

import com.endpoint.search.to.BookEsModel;
import com.endpoint.search.vo.SearchParam;
import com.endpoint.search.vo.SearchResult;

/**
 * @Project: endpoint
 * @Name: SearchService
 * @Author: Jack_Li
 * @Date: 2024/7/5 9:00
 */

public interface SearchService {

    public Boolean  booksImportEs();

    public SearchResult searchBookByPage(SearchParam searchParamVo, int pageNum, int pageSize);

    public void importToEs(BookEsModel bookEsModel);
}
